package org.springframework.context.support;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;

@Aspect
public class AAspect {

	@Around("@annotation(org.springframework.context.support.AspectTest)")
	public Object pointCut(ProceedingJoinPoint pjp) throws Throwable {
		System.out.println("before aspect...");
		Object proceed = pjp.proceed();
		System.out.println("after aspect...");
		return proceed;
	}

}
